from django.urls import path

from . import views

urlpatterns = [
    path('', views.my, name="index"),  #
    path('news/<int:pIndex>', views.index, name="index"),  #
    path('login/', views.login, name="login"),  # 登录页面
    path('register/', views.register, name="register"),  # 注册页面
    path('logout/', views.logout, name="logout"),  # 注册页面
    path('pswd_update/', views.psed_update, name="pswd_update"),  # 注册页面

]
